package com.smart.home.service;


import com.smart.home.dto.User.UserLoginDto;
import com.smart.home.dto.User.UserRegisterDto;
import com.smart.home.entity.Users;
import com.smart.home.vo.UserVO;

import javax.servlet.http.HttpServletRequest;


public interface UserService {

    Integer register(UserRegisterDto userRegisterDto);


    Users login(UserLoginDto userLoginDto);


    void logout(HttpServletRequest request);

    void UpdatePassword(String oldPassword, String newPassword);

    UserVO queryUserInfo(Long id);
}
